home *** CD-ROM | disk | FTP | other *** search
- Path: news.cp10.es.xerox.com!news
- From: edb@cp10.es.xerox.com (EDB)
- Newsgroups: comp.lang.c++
- Subject: Re: REBOOTING?
- Date: 5 Feb 1996 21:08:36 GMT
- Organization: Xerox
- Message-ID: <4f5rkk$lpt@news.cp10.es.xerox.com>
- Reply-To: edb@cp10.es.xerox.com
- NNTP-Posting-Host: erst.cp10.es.xerox.com
-
- C/C++ code to warm boot from DOS:
-
- void (far *pf)() = 0xffff0000;
- int far *magic = (int far *) 0x00400072;
- *magic = 0x1234;
- (*pf)();
-
- C/C++ code to warm boot from Windows 3.1:
-
- EXITWINDOWS(EW_REBOOTSYSTEM, 0);
-
- If you meant some other system, you're on your own...
-
- - Eric
-
-
-
-